package com.ruoyi.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.business.domain.TRegisterNotice;
import com.ruoyi.business.vo.TRegisterNoticeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 录取通知Mapper接口
 *
 * @author Tellsea
 * @date 2024-01-26
 */
public interface TRegisterNoticeMapper extends BaseMapper<TRegisterNotice> {

    Page<TRegisterNoticeVo> queryList(Page<?> page, @Param("entity") TRegisterNoticeVo entity);

    List<TRegisterNoticeVo> queryList(@Param("entity") TRegisterNoticeVo entity);

    TRegisterNoticeVo queryById(@Param("id") Long id);

    TRegisterNoticeVo queryByRegisterId(@Param("registerId") Long registerId);

    void revertOverLeaveDurationHandle();

    void overLeaveDurationHandle();

    String getNewJobNumber(@Param("jobNumberPre") String jobNumberPre);

}
